package com.macro.mall.es.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class EsIndexDto {
    /**
     * 索引名
     */
    @NotNull(message = "索引名不能为空")
    private String indexName;
    /**
     * 索引映射
     */
    private String indexMapper;
    //主键id标识字段
    private String indexSettings;
}
